package com.eng.carro.mb;

import java.io.Serializable;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

import com.eng.carro.entities.DeliveryRoute;

@ManagedBean( name = "routeMB" )
@RequestScoped
public class RouteMBean implements Serializable {

  private static final long serialVersionUID = -6512712066986334202L;
  
  private DeliveryRoute deliveryRoute;
  
  @PostConstruct
  public void init() {
	deliveryRoute = new DeliveryRoute();
  }

  public DeliveryRoute getDeliveryRoute() {
    return deliveryRoute;
  }

  public void setDeliveryRoute(DeliveryRoute deliveryRoute) {
    this.deliveryRoute = deliveryRoute;
  }
}
 